package com.hzo.great.leisuregreat.views;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.hzo.great.leisuregreat.R;
import com.hzo.great.leisuregreat.base.BaseActivity;
import com.hzo.great.leisuregreat.utils.ClearableEditText;

public class SetNameActivity extends BaseActivity {

    ImageView back;

    TextView complete;

    ClearableEditText name;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //fullScreen(this, true);
        setContentView(R.layout.mine_set);
        initView();
    }

    private void initView() {
        back = (ImageView) findViewById(R.id.back);
        complete = (TextView) findViewById(R.id.complete);
        name = (ClearableEditText) findViewById(R.id.name);

        back.setOnClickListener(this);
        complete.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {

        switch (view.getId()){
            case R.id.back:
                finish();
                break;
            case R.id.complete:
                break;
        }
    }
}
